<%@ Page Language="C#" ContentType="text/x-component" %>
<%@ OutputCache Location="Client" Duration="243600" VaryByParam="None" %>
<PUBLIC:COMPONENT URN="http://cutesoft.net/">
	<PUBLIC:PROPERTY NAME="width" GET="_get_width" PUT="_set_width" PERSIST="false" />
	<PUBLIC:PROPERTY NAME="height" GET="_get_height" PUT="_set_height" PERSIST="false" />
	<PUBLIC:PROPERTY NAME="selectedIndex" GET="_get_selectedIndex" PUT="_set_selectedIndex" PERSIST="false" />
	<PUBLIC:PROPERTY NAME="options" GET="_get_options" PERSIST="false" />
	<PUBLIC:PROPERTY NAME="value" GET="_get_value" PUT="_set_value" PERSIST="false" />
	<PUBLIC:PROPERTY NAME="length" GET="_get_length" PUT="_set_length" PERSIST="false" />
	<PUBLIC:METHOD NAME="add" INTERNALNAME="_mtd_add" />
	<PUBLIC:METHOD NAME="item" INTERNALNAME="_mtd_item" />
	<PUBLIC:METHOD NAME="remove" INTERNALNAME="_mtd_remove" />
	<PUBLIC:EVENT ID="id_onchange" NAME="onchange" />
	<PUBLIC:EVENT ID="id_onpropertychange" NAME="onpropertychange" />
</PUBLIC:COMPONENT>
<HTML>
	<BODY>
	</BODY>
</HTML>

<!-- #include file="_sharedie.htm" -->

<script>
var OxOea7c=["darkblue","white","marginBottom","style","-3px","cursor","default"];var bordercolorover=OxOea7c[0x0];var bordercolor=OxOea7c[0x1];var min_height=0x28;var max_height=0x140; element[OxOea7c[0x3]][OxOea7c[0x2]]=OxOea7c[0x4] ; element[OxOea7c[0x3]][OxOea7c[0x5]]=OxOea7c[0x6] ;
</script>

<script>
var OxOd67b=["boolean","string","ok","true","yes","on","-1","1","length","value","","innerText","innerHTML","html","SPAN","document","text"," ","DIV","option","div","NOBR","createPopup","RenderItemBorder","cssText","style","width:100%;padding:3px 5px 5px 4px;border:solid 1px #eeeeee; margin:4px 10px 4px 0; vertical-align:middle;","this.runtimeStyle.cssText=\x27rem-background-color:highlight;border-style:solid;border-width:1px;border-color:highlight\x27;","onmouseover","this.runtimeStyle.cssText=\x27\x27;","onmouseout","width:100%;padding:2px;vertical-align:middle;","this.runtimeStyle.cssText=\x27background-color:highlight;color:highlightText\x27;","body","all","unselectable","propertyName","children","width","10px","overflow","visible","\x3CTABLE cellpadding=\x270\x27 cellspacing=\x270\x27 border=\x271\x27 borderColor=\x27","\x27"," style=\x27font-family: MS Sans Serif; font-size: 9pt; display:inline;border-collapse:collapse;\x27\x3E\x3CTR\x3E","\x3CTD style=\x27background-color:white;vertical-align:middle;padding:2px 4px 1px 4px;\x27\x3ELoading\x3C/TD\x3E","\x3CTD style=\x27width:8px;padding:0px 1px 1px 1px;color:black;text-align:center;font-family:Webdings;font-size:8px;\x27\x3E6\x3C/TD\x3E","\x3C/TR\x3E\x3C/TABLE\x3E","beforeEnd","\x3CDIV style=\x27display:none;z-index:88888888;font-family:arial;position:absolute;background-color:white;border:1px solid;width:80px;height:80px;overflow-x:visible;overflow-y:auto;font-size:12px;padding:2px;\x27\x3E","borderColor","display","none"]; function ConvertToBoolean(Ox5b){if( typeof (Ox5b)==OxOd67b[0x0]){return Ox5b;} ;if( typeof (Ox5b)==OxOd67b[0x1]){switch(Ox5b.toLowerCase()){case OxOd67b[0x7]:case OxOd67b[0x6]:case OxOd67b[0x5]:case OxOd67b[0x4]:case OxOd67b[0x3]:case OxOd67b[0x2]:return true;;;;;;;} ;return false;} ;return Ox5b?true:false;}  ; function _get_options(){return element;}  ;var table;var td1;var panel;var isopen=false;var selindex=0x0;var arr=[]; function _get_selectedIndex(){if(arr[OxOd67b[0x8]]==0x0){return -0x1;} ;return selindex;}  ; function _set_selectedIndex(Ox5b){ Ox5b=parseInt(Ox5b) ;if(Ox5b>=0x0&&Ox5b<arr[OxOd67b[0x8]]){ selindex=Ox5b ;} else { selindex=-0x1 ;} ; UpdateDisplay() ; FireValuePropChanged() ;}  ; function _get_value(){var Ox73=arr[selindex];if(Ox73){return Ox73[OxOd67b[0x9]]||OxOd67b[0xa];} ;return OxOd67b[0xa];}  ; function _set_value(Ox5b){for(var i=0x0;i<arr[OxOd67b[0x8]];i++){if(arr[i][OxOd67b[0x9]]==Ox5b){ selindex=i ; UpdateDisplay() ; FireValuePropChanged() ;return ;} ;} ; selindex=-0x1 ; UpdateDisplay() ; FireValuePropChanged() ;}  ; function _mtd_default(Oxd8){return arr[Oxd8];}  ; function _mtd_item(Oxd8){return arr[Oxd8];}  ; function SetOptionTo(Ox73,Ox10b){ Ox10b[OxOd67b[0xb]]=OxOd67b[0xa] ;if(Ox73[OxOd67b[0xd]]||Ox73[OxOd67b[0xc]]){var Ox19c=element[OxOd67b[0xf]].createElement(OxOd67b[0xe]); Ox19c[OxOd67b[0xc]]=Ox73[OxOd67b[0xd]]||Ox73[OxOd67b[0xc]] ; Ox10b.appendChild(Ox19c) ;} else { Ox10b[OxOd67b[0xb]]=Ox73[OxOd67b[0x10]]||OxOd67b[0x11] ;} ;}  ; function _mtd_add(Ox73){var div=element[OxOd67b[0xf]].createElement(OxOd67b[0x12]); div[OxOd67b[0x13]]=Ox73 ; Ox73[OxOd67b[0x14]]=div ;var Ox378=element[OxOd67b[0xf]].createElement(OxOd67b[0x15]);if(window[OxOd67b[0x16]]){ Ox378.mergeAttributes(Ox73) ;} ; div.appendChild(Ox378) ; SetOptionTo(Ox73,Ox378) ; arr[arr[OxOd67b[0x8]]]=Ox73 ;if(ConvertToBoolean(Ox73.selected)){ selindex=arr[OxOd67b[0x8]]-0x1 ; UpdateDisplay() ; FireValuePropChanged() ;} ;if(element[OxOd67b[0x17]]==OxOd67b[0x3]){ div[OxOd67b[0x19]][OxOd67b[0x18]]=OxOd67b[0x1a] ; div[OxOd67b[0x1c]]= new Function(OxOd67b[0xa],OxOd67b[0x1b]) ; div[OxOd67b[0x1e]]= new Function(OxOd67b[0xa],OxOd67b[0x1d]) ;} else { div[OxOd67b[0x19]][OxOd67b[0x18]]=OxOd67b[0x1f] ; div[OxOd67b[0x1c]]= new Function(OxOd67b[0xa],OxOd67b[0x20]) ; div[OxOd67b[0x1e]]= new Function(OxOd67b[0xa],OxOd67b[0x1d]) ;} ; panel.appendChild(div) ; document[OxOd67b[0x21]].appendChild(Ox73) ;}  ; function _mtd_remove(Ox73){for(var i=0x0;i<arr[OxOd67b[0x8]];i++){if(arr[i]==Ox73){for(var j=i;j<arr[OxOd67b[0x8]]-0x1;j++){ arr[j]=arr[j+0x1] ;} ; arr[OxOd67b[0x8]]=arr[OxOd67b[0x8]]-0x1 ; Ox73[OxOd67b[0x14]].removeNode(true) ; Ox73.removeNode(true) ;if(selindex>i){ selindex=i-0x1 ; UpdateDisplay() ; FireValuePropChanged() ;} else {if(selindex==i){ selindex=-0x1 ; UpdateDisplay() ; FireValuePropChanged() ;} ;} ;break ;} ;} ;}  ; function SelectOption(Ox73){for(var i=0x0;i<arr[OxOd67b[0x8]];i++){if(arr[i]==Ox73){ selindex=i ; UpdateDisplay() ; FireValuePropChanged() ; id_onchange.fire() ;} ;} ;}  ; function UpdateDisplay(){ td1[OxOd67b[0xb]]=OxOd67b[0xa] ; option=arr[selindex] ;if(option){var Ox378=element[OxOd67b[0xf]].createElement(OxOd67b[0x15]); td1.appendChild(Ox378) ;if(window[OxOd67b[0x16]]){ Ox378.mergeAttributes(option) ;} ; SetOptionTo(option,Ox378) ;var coll=td1[OxOd67b[0x22]];for(var i=0x0;i<coll[OxOd67b[0x8]];i++){ coll[i][OxOd67b[0x23]]=OxOd67b[0x5] ;} ;} ;}  ; function FireValuePropChanged(){var Ox1a6=createEventObject(); Ox1a6[OxOd67b[0x24]]=OxOd67b[0x9] ; id_onpropertychange.fire(Ox1a6) ;}  ; function Initialize(){var Ox37d=element[OxOd67b[0x25]];var coll=[];for(var i=0x0;i<Ox37d[OxOd67b[0x8]];i++){ coll[i]=Ox37d.item(i) ;} ;if(element[OxOd67b[0x19]][OxOd67b[0x26]]==OxOd67b[0xa]){ element[OxOd67b[0x19]][OxOd67b[0x26]]=OxOd67b[0x27] ;} ; element[OxOd67b[0x19]][OxOd67b[0x28]]=OxOd67b[0x29] ;var Ox19c=element[OxOd67b[0xf]].createElement(OxOd67b[0xe]); Ox19c[OxOd67b[0xc]]=OxOd67b[0x2a]+bordercolor+OxOd67b[0x2b]+OxOd67b[0x2c]+OxOd67b[0x2d]+OxOd67b[0x2e]+OxOd67b[0x2f] ; element.insertAdjacentElement(OxOd67b[0x30],Ox19c.children(0x0)) ; table=element.children(element[OxOd67b[0x25]][OxOd67b[0x8]]-0x1) ; td1=table.rows(0x0).cells(0x0) ; panel=element[OxOd67b[0xf]].createElement(OxOd67b[0x31]) ; element.appendChild(panel) ;for(var i=0x0;i<coll[OxOd67b[0x8]];i++){ _mtd_add(coll[i]) ;} ; element[OxOd67b[0x23]]=OxOd67b[0x5] ;var coll=element[OxOd67b[0x22]];for(var i=0x0;i<coll[OxOd67b[0x8]];i++){ coll[i][OxOd67b[0x23]]=OxOd67b[0x5] ;} ; UpdateDisplay() ;}  ; function CloseDiv(Ox37e){ isopen=false ; table[OxOd67b[0x32]]=bordercolor ; panel[OxOd67b[0x19]][OxOd67b[0x33]]=OxOd67b[0x34] ; CaptureManager.Unregister(table) ;}  ;

</script>
<script>
var OxO95da=["designMode","document","on","disabled","borderColor","length","RichHideFirstItem","true","display","style","div","none","top","left","block","offsetHeight","offsetWidth","width","scrollHeight","height","all","unselectable","children","px","srcElement","parentNode","option"];if(element[OxO95da[0x1]][OxO95da[0x0]].toLowerCase()!=OxO95da[0x2]){ Initialize() ; HookEvents() ;} ; function HookEvents(){ function table.onmouseover(){if(isopen){return ;} ;if(table.contains(event.fromElement)){return ;} ;if(element[OxO95da[0x3]]){return ;} ; table[OxO95da[0x4]]=bordercolorover ;}  ; function table.onmouseout(){if(isopen){return ;} ;if(table.contains(event.toElement)){return ;} ;if(element[OxO95da[0x3]]){return ;} ; table[OxO95da[0x4]]=bordercolor ;}  ; function table.onclick(){if(isopen){ CloseDiv() ;return ;} ;if(element[OxO95da[0x3]]){return ;} ;for(var i=0x0;i<arr[OxO95da[0x5]];i++){if(i==0x0&&element[OxO95da[0x6]]==OxO95da[0x7]){ arr[0x0][OxO95da[0xa]][OxO95da[0x9]][OxO95da[0x8]]=OxO95da[0xb] ;} ; SetOptionTo(arr[i],arr[i][OxO95da[0xa]].children(0x0)) ;} ; table[OxO95da[0x4]]=bordercolorover ; panel[OxO95da[0x9]][OxO95da[0xc]]=0x0 ; panel[OxO95da[0x9]][OxO95da[0xd]]=0x0 ; panel[OxO95da[0x9]][OxO95da[0x8]]=OxO95da[0xe] ;var Ox85=CalcPosition(panel,table); Ox85[OxO95da[0xc]]+=table[OxO95da[0xf]]+0x1 ; AdjustMirror(panel,table,Ox85) ; panel[OxO95da[0x9]][OxO95da[0xc]]=Ox85[OxO95da[0xc]] ; panel[OxO95da[0x9]][OxO95da[0xd]]=Ox85[OxO95da[0xd]] ; panel[OxO95da[0x9]][OxO95da[0x11]]=table[OxO95da[0x10]] ; panel[OxO95da[0x9]][OxO95da[0x13]]=Math.min(Math.max(panel[OxO95da[0x12]]+0x6,min_height),max_height) ;var coll=panel[OxO95da[0x14]];for(var i=0x0;i<coll[OxO95da[0x5]];i++){ coll[i][OxO95da[0x15]]=OxO95da[0x2] ;} ;var coll=panel[OxO95da[0x16]];var Ox82=0x0;for(var i=0x0;i<coll[OxO95da[0x5]];i++){ Ox82=Math.max(coll[i].offsetWidth,Ox82) ;} ;for(var i=0x0;i<coll[OxO95da[0x5]];i++){ coll[i][OxO95da[0x9]][OxO95da[0x11]]=Ox82+OxO95da[0x17] ;} ; isopen=true ;var Ox86=CaptureManager.Register(table,CloseDiv); Ox86.AddElement(panel) ;}  ; function panel.onmouseup(){if(panel.contains(event.srcElement)){for(var e=event[OxO95da[0x18]];e!=panel;e=e[OxO95da[0x19]]){if(e[OxO95da[0x1a]]){ CloseDiv() ; SelectOption(e.option) ;return ;} ;} ;} ;}  ;}  ;
</script>
